Skip to content

Upgrade to Node 24 and sync with upstream actions/cache#5

Merged
danySam merged 106 commits into
mainfrom
upgrade/node24-deps
Jun 1, 2026
Merged

Upgrade to Node 24 and sync with upstream actions/cache#5
danySam merged 106 commits into
mainfrom
upgrade/node24-deps

Conversation

@danySam

@danySam danySam commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Merges upstream actions/cache@main (v5.0.4) into this fork
  • Upgrades action runtime from node20 to node24
  • Bumps all dependencies to match upstream (see below)
  • No source code changes required — upstream had zero src/ changes since our fork point

Dependency Changes

Package Before After
@actions/cache ^4.0.3 ^5.0.5
@actions/core ^1.11.1 ^2.0.3
@actions/exec ^1.1.1 ^2.0.0
@actions/io ^1.1.3 ^2.0.0
jest ^28.1.3 ^29.7.0
prettier ^2.8.0 ^3.6.2
ts-jest ^28.0.8 ^29.4.0
typescript ^4.9.3 ^5.8.3

Why

GitHub Actions is deprecating Node 20 actions:

  • Forced to Node 24 starting June 16, 2026
  • Node 20 removed from runners September 16, 2026

Test plan

  • CI passes (Tests, Check dist, GCS Integration)
  • Verify in willbethere.in with this branch

nebuk89 and others added 30 commits June 16, 2025 10:08
Upgrade `@actions/cache` to `4.0.4` and move `@protobuf-ts/plugin` to dev depdencies
- Use local cache package with file:../packages/cache instead of published version
- Update all action.yml files to use node24 runtime
- Update dependencies to support Node 24 (@types/node@24.1.0)
- Rebuild dist files with local cache package
- Add engines field requiring node >=24
- Keep Node 24 package.json with local cache package reference
- Keep rebuilt dist files with local cache package
- Preserve package-lock.json with updated dependencies
- Include latest license updates from main
Uses updated cache package that removes @azure/ms-rest-js dependency to fix Node 24 punycode deprecation warning.
Link- and others added 28 commits January 29, 2026 02:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Potential fix for code scanning alert no. 52: Workflow does not contain permissions
…ssions

Fix workflow permissions and cleanup workflow names / formatting
docs: Update examples to use the latest version
Updated cache key to use 'bun.lock' instead of 'bun.lockb' for consistency.
Fix cache key in examples.md for bun.lock
Update dependencies & patch security vulnerabilities
# Conflicts:
#	.github/workflows/issue-opened-workflow.yml
#	.github/workflows/pr-opened-workflow.yml
#	.github/workflows/publish-immutable-actions.yml
#	.github/workflows/release-new-action-version.yml
#	.licensed.yml
#	README.md
#	RELEASES.md
#	dist/restore-only/index.js
#	dist/restore/index.js
#	dist/save-only/index.js
#	dist/save/index.js
#	examples.md
#	package-lock.json
#	package.json
#	restore/README.md
#	save/README.md
#	tips-and-workarounds.md
- Bump @actions/cache to ^5.0.5, @actions/core to ^2.0.3,
  @actions/exec to ^2.0.0, @actions/io to ^2.0.0
- Bump dev deps: jest 29, prettier 3, ts-jest 29, typescript 5.9
- Update action runtime from node20 to node24
- Update CI workflows to use Node 24 and checkout@v5
- Remove jest-circus testRunner config (default in jest 29)
- Regenerate package-lock.json and rebuild dist
@danySam danySam merged commit 63ff704 into main Jun 1, 2026
28 checks passed
@danySam danySam deleted the upgrade/node24-deps branch June 1, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants